import request from '@/utils/request'

// 查询任务处置记录列表
export function listDailyTaskInfo(query) {
  return request({
    url: '/schedule/manager/dailyTaskInfo/list',
    method: 'get',
    params: query
  })
}

// 查询任务处置记录详细
export function getDailyTaskInfo(id) {
  return request({
    url: '/schedule/manager/dailyTaskInfo/' + id,
    method: 'get'
  })
}

// 新增任务处置记录
export function addDailyTaskInfo(data) {
  return request({
    url: '/schedule/manager/dailyTaskInfo',
    method: 'post',
    data: data
  })
}

// 修改任务处置记录
export function updateDailyTaskInfo(data) {
  return request({
    url: '/schedule/manager/dailyTaskInfo',
    method: 'put',
    data: data
  })
}

// 删除任务处置记录
export function delDailyTaskInfo(id) {
  return request({
    url: '/schedule/manager/dailyTaskInfo/' + id,
    method: 'delete'
  })
}

// 导出任务处置记录
export function exportDailyTaskInfo(query) {
  return request({
    url: '/schedule/manager/dailyTaskInfo/export',
    method: 'get',
    params: query
  })
}